package net.stogi.unicore.beyond.api.model;

import java.io.Serializable;

public abstract class Entity implements Serializable {

	private static final long serialVersionUID = -5648617733959876156L;

	protected Long id;

	protected Integer version;

	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @return the version
	 */
	public Integer getVersion() {
		return version;
	}

	/**
	 * @param id
	 *          the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @param version
	 *          the version to set
	 */
	public void setVersion(Integer version) {
		this.version = version;
	}
}
